package com.rpframework.website.device.domain;

import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;
@TableMapperAnnotation(tableName="guide" ,uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id")
public class Guide {
	@FieldMapperAnnotation
	private Integer id;   //服务
	@FieldMapperAnnotation
	private String title;   //题目
	@FieldMapperAnnotation
	private String onepic;   //首页图片
	@FieldMapperAnnotation
	private String msg;   //内容
	@FieldMapperAnnotation
	private String msgpic;   //内容图片
	@FieldMapperAnnotation
	private long starttime;   //时间
	@FieldMapperAnnotation
	private Integer dianzan;   //点赞
	@FieldMapperAnnotation
	private Integer pinglun;   //评论
	@FieldMapperAnnotation
	private Integer state;   //状态
	@FieldMapperAnnotation
	private Integer propertyid;   //物
	@FieldMapperAnnotation
	private String username;   //物
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getOnepic() {
		return onepic;
	}
	public void setOnepic(String onepic) {
		this.onepic = onepic;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public String getMsgpic() {
		return msgpic;
	}
	public void setMsgpic(String msgpic) {
		this.msgpic = msgpic;
	}
	public long getStarttime() {
		return starttime;
	}
	public void setStarttime(long starttime) {
		this.starttime = starttime;
	}
	public Integer getDianzan() {
		return dianzan;
	}
	public void setDianzan(Integer dianzan) {
		this.dianzan = dianzan;
	}
	public Integer getPinglun() {
		return pinglun;
	}
	public void setPinglun(Integer pinglun) {
		this.pinglun = pinglun;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Integer getPropertyid() {
		return propertyid;
	}
	public void setPropertyid(Integer propertyid) {
		this.propertyid = propertyid;
	}
	@Override
	public String toString() {
		return "Guide [id=" + id + ", title=" + title + ", onepic=" + onepic
				+ ", msg=" + msg + ", msgpic=" + msgpic + ", starttime="
				+ starttime + ", dianzan=" + dianzan + ", pinglun=" + pinglun
				+ ", state=" + state + ", propertyid=" + propertyid + "]";
	}
	
	
	
}
